
 /**
 * Baijiahulian.com Inc.
 * Copyright (c) 2014-2016 All Rights Reserved.
 */
    
package cn.wenhao.javaClassReload.JavaClassModify.classTransformer.utils;

import org.objectweb.asm.Opcodes;

/**
 *  @say little Boy, don't be sad.
 *  @name Rezar
 *  @time Oct 30, 2016
 *  @Desc this guy is too lazy, nothing left.
 */

public class TransUtils implements Opcodes{
    
    public static boolean isLoadOpcode(int opcode){
        if(opcode >= ILOAD && opcode <= ALOAD){
            return true;
        }
        return false;
    }

    
    public static boolean isPushConst(int opcode){
        if(opcode >= ACONST_NULL && opcode <= LDC){
            return true;
        }
        return false;
    }

}

    